public class MyArray {
    int []elem = new int[10];
    int useaside = 0;
    void add() {

    }
    public boolean indexOf(int toFind) {
        for (int i = 0; i < useaside; i++) {
            if(toFind == elem[i]) {
                return true;
            }
        }
        return false;
    }
}
